//
//  CityPickView.h
//  StraightTrain
//
//  Created by mk on 15/11/25.
//  Copyright (c) 2015年 mk. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CityPickViewSelectDelegate;


@interface CityPickView : UIView <UIPickerViewDataSource,UIPickerViewDelegate>
{
   UIPickerView * pickerCity;
}

@property(nonatomic,weak)IBOutlet id<CityPickViewSelectDelegate> selectDelegate;
@property(nonatomic,assign)NSInteger selectProvince;
@property(nonatomic,assign)NSInteger selectCity;
@property(nonatomic,strong)UILabel * cityTitle;

-(void)setCityDataPick;

@end

@protocol CityPickViewSelectDelegate <NSObject>
@optional

-(void)selectPickData:(NSString *)city provinceData:(NSString *)province;
-(void)citytoolBarDoneClick:(id)sender;
-(void)citytoolBarCanelClick:(id)sender;
-(void)showCityPickerData:(BOOL)show;

@end